﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:convert="clr-namespace:XamlaApp.Converters">
    <!--Converter Resources-->
    <convert:WrapModeToBoolean x:Key="WrapModeConverterResource"></convert:WrapModeToBoolean>
    <convert:TextAlignmentToString x:Key="TextAlignmentConverterResource"></convert:TextAlignmentToString>
    <convert:CornerRadiusToDouble x:Key="CornerRadiusConverterResource"></convert:CornerRadiusToDouble>
    <convert:ThicknessToDouble x:Key="ThicknessConverterResource"></convert:ThicknessToDouble>
    <convert:SolidColorBrushToColor x:Key="SolidColorBrushToColorConverterResource"></convert:SolidColorBrushToColor>
    <convert:ImageStretchToString x:Key="ImageStretchConverterResource"></convert:ImageStretchToString>
    <convert:VisibilityToBoolean x:Key="VisibilityToBooleanConverterResource"></convert:VisibilityToBoolean>
    <!--Styles-->
    <!--<Style x:Key="xamla_stage" TargetType="Canvas">
        <Setter Property="Background" Value="White"/>
        <Setter Property="Width" Value="800"/>
        <Setter Property="Height" Value="600"/>
    </Style>-->
    <Style x:Key="xamla_gridtools_container" TargetType="Grid">
        <Setter Property="Background" Value="Gray"/> 
    </Style>
    <Style x:Key="xamla_properties_panel" TargetType="StackPanel">
        <Setter Property="Grid.Column" Value="1"/>
        <Setter Property="Grid.Row" Value="1"/>
        <Setter Property="Height" Value="600"/>
    </Style>
    <Style x:Key="xamla_controleditor_sizer" TargetType="Border">
        <Setter Property="HorizontalAlignment" Value="Center"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="BorderBrush" Value="Gray"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Background" Value="WhiteSmoke"/>
        <Setter Property="Width" Value="10"/>
        <Setter Property="Height" Value="10"/>
        <Setter Property="CornerRadius" Value="3"/>
    </Style>
    <Style x:Key="xamla_controleditor_border" TargetType="Border">
        <Setter Property="CornerRadius" Value="3"/>
        <Setter Property="BorderBrush" Value="LightGray"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Margin" Value="-1"/>
    </Style>
    <Style x:Key="xamla_mainmenu_element_buttons" TargetType="Button">
        <Setter Property="Width" Value="40"/>
        <Setter Property="Height" Value="40"/>
    </Style>
    <Style x:Key="xamla_stage_border" TargetType="Border">
        <Setter Property="BorderBrush" Value="Blue"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Grid.Row" Value="0"/>
        <Setter Property="Grid.Column" Value="2"/>
        <Setter Property="Grid.Row" Value="1"/>
        <Setter Property="Margin" Value="5,0,0,0"/>
    </Style>
    <Style x:Key="xamla_properties_border" TargetType="Border">
        <Setter Property="BorderBrush" Value="Blue"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="5"/>
        <Setter Property="Margin" Value="5"/>
        <Setter Property="CornerRadius" Value="5"/>
    </Style>
    <Style x:Key="xamla_elementmenu_border" TargetType="Border">
        <Setter Property="BorderBrush" Value="Blue"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Padding" Value="5"/>
        <Setter Property="Margin" Value="5"/>
        <Setter Property="CornerRadius" Value="5"/>
    </Style>
    <Style x:Key="xamla_propertymenu_numerictextbox" TargetType="TextBox">
        <Setter Property="Width" Value="45"/>
    </Style>
    <Style x:Key="xamla_propertymenu_slider" TargetType="Slider">
        <Setter Property="Width" Value="80"/>
    </Style>
    <Style x:Key="xamla_menubutton" TargetType="Button">
        <Setter Property="Width" Value="40"/>
        <Setter Property="Height" Value="40"/>
    </Style>
    <Style x:Key="xamla_element_editbutton" TargetType="Button">
        <Setter Property="Content" Value="Edit"/>
        <Setter Property="FontSize" Value="8"/>
        <Setter Property="HorizontalAlignment" Value="Left"/>
        <Setter Property="VerticalAlignment" Value="Top"/>
        <Setter Property="Margin" Value="7,-22,0,0"/>
    </Style>
    <Style x:Key="xamla_colorbox" TargetType="Rectangle">
        <Setter Property="Stroke" Value="LightGray"/>
        <Setter Property="StrokeThickness" Value="1"/>
        <Setter Property="Width" Value="20"/>
        <Setter Property="Height" Value="20"/>
    </Style>
    <Style x:Key="xamla_menustrip_button" TargetType="Button">
        <Setter Property="Margin" Value="5,0,0,0"/>
    </Style>
</ResourceDictionary>
